﻿using System;

namespace program23
{
    class Program
    {
       private static void Main(string[] args)
        {
            decimal salay = 8000.0M;
            Charge(ref salay);
            Console.WriteLine("这个月工资为{0，8:c2}元", salay);
        }
        public static void Charge(ref decimal s)
        {
            s -= 500;
            Console.WriteLine("这个月扣款为{0,8:c2}元", 500);
        }
    }
}
